package com.douyin.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("video_tags")
public class VideoTag {
    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("video_id")
    private Long videoId;

    @TableField("tag_name")
    private String tagName;

    @TableField(value = "source", fill = FieldFill.INSERT)
    private Integer source = 0; // 0-用户添加 1-AI自动生成

    @TableField(value = "created_at", fill = FieldFill.INSERT)
    private LocalDateTime createdAt;


}
